<template>
  <div class="talent-service">
    <div class="talent-service-title">
        <div class="talent-service-title-text">人才服务</div>
        <div class="talent-service-describe">{{simpledescript}}</div>
    </div>
    <div class="talent-service-body">
       <div class="talent-service-img">
           <img src="/img/insert/collegeg-job.jpg">
       </div>
       <div class="talent-service-text" v-html="descriptsecond">
            
        </div>
        <p class="talent-service-p">服务流程</p>
        <div class="talent-servic-items">
            <div class="talent-servic-item" v-for="(item,key) in talentService" :key="key+'talentService'">
                <div class="servic-item-num">
                    <span>{{key+1}}</span>
                </div>
                <div class="servic-item-content">
                    <p>{{item.stageDesTitle}}</p>
                    <div>
                       {{item.stageDesContent}}
                    </div>
                </div>
            </div>
            <!-- <div class="talent-servic-item">
                <div class="servic-item-num">
                    <span>2</span>
                </div>
                <div class="servic-item-content">
                    <p>锻炼职业基本技能</p>
                    <div>
                        技术实战 系统分析与设计 中阶课程 职业规划
                    </div>
                </div>
            </div>
            <div class="talent-servic-item">
                <div class="servic-item-num">
                    <span>3</span>
                </div>
                <div class="servic-item-content">
                    <p>加强工程能力锻炼</p>
                    <div>
                        项目实战 项目管理 需求和风险管理 团队协作
                    </div>
                </div>
            </div>
            <div class="talent-servic-item">
                <div class="servic-item-num">
                    <span>4</span>
                </div>
                <div class="servic-item-content">
                    <p>成为职业人</p>
                    <div>
                        企业级项目实战 IT标准素质锻炼 解决方案纂写 大型网络项目设计实施经验
                    </div>
                </div>
            </div> -->

        </div>
    </div>
  </div>
</template>

<script>
import { collegeTalentService , collegeTalentBySize} from '~/api/getData'
export default {
  name: 'talent_service',
  data () {
      return{
        simpledescript: '',
        descriptsecond: '',
        talentService: []
      }
    
  },
  components: {
   
  },
  mounted(){
    collegeTalentService.call(this).then(res=>{
       
        this.simpledescript =res[0].simpledescript
        this.descriptsecond = res[0].descriptsecond
    })
    collegeTalentBySize.call(this).then(res=>{
        this.talentService = res;
       
    })
  }
}
</script>

<style lang="stylus" scoped>
.talent-service{
  background:rgba(255,255,255,1);
  box-shadow:0px 1px 2px 0px rgba(0,0,0,0.1);
  margin-bottom: 20px;  
}
.talent-service-title{
  height: 58px;
  line-height: 58px;
  padding-left: 30px;
  border-bottom: 1px solid rgba(238,238,238,1);
  >div{
    display: inline-block;
  }
  .talent-service-title-text{
    font-size:16px;
    color:rgba(30,30,30,1);
    margin-right: 30px;
  }
  .talent-service-describe{
    font-size:12px;
    color:rgba(130,130,130,1);
  }
}
.talent-service-body{
    padding: 40px 30px;
}
.talent-service-img{
    width: 1140px;
    height: 174px;
    img{
        width: 100%;
        height: 100%;
    }
    margin-bottom: 30px;
}
.talent-service-text{
    font-size:14px;
    font-family:MicrosoftYaHei;
    color:rgba(30,30,30,1);
    line-height:34px;
    margin-bottom: 40px;
}
.talent-service-p{
    font-size:14px;
    font-family:MicrosoftYaHei;
    color:rgba(168,168,168,1);
    line-height:14px;
    margin-bottom: 20px;
}
.talent-servic-items{
    font-size: 0;
    .talent-servic-item{
        display: inline-block;
        box-sizing: border-box;
        width:210px;
        min-height:165px;
        margin-right: 100px;
        margin-bottom: 20px;
        border:1px solid rgba(238, 238, 238, 1);
        vertical-align: top;
        font-size: 0;
        padding-top: 20px;
        >div{
            display: inline-block;
            vertical-align: top;
        }
        .servic-item-num{
            margin-left: 20px;
            span{
                font-size: 16px;
                line-height: 16px;
                padding: 0 3px;
                color:rgba(255,255,255,1);
                background:rgba(20,87,253,1); 
            } 
        }
        .servic-item-content{
            margin-left: 10px;
            p{
                font-size:16px;
                font-family:MicrosoftYaHei-Bold;
                font-weight:bold;
                color:rgba(30,30,30,1);
                line-height:16px;
                margin-bottom: 20px;
            }
            div{
                width: 140px;
                font-size:14px;
                font-family:MicrosoftYaHei;
                color:rgba(130,130,130,1);
                line-height:34px;
            }
        }
    }
    .talent-servic-item:nth-child(4n){
        margin-right: 0;
    }
}
</style>
